#ifndef USBPORT_H
#define USBPORT_H

#include <QDebug>
#include <QByteArray>

#include "../qextserialport/qextserialport.h"
#include "../qextserialport/qextserialenumerator.h"
#include "../qextserialport/qextserialport.h"

class UsbPort
{
public:
    UsbPort();
    ~UsbPort();

    void sendCommand(QByteArray command);
    static UsbPort* Instance();

private:
    QextSerialPort* m_port;
    static UsbPort* m_singleton;
};

#endif // USBPORT_H
